Blockly.Blocks['1635506192430'] = {
  init: function() {
    this.jsonInit({
      "type": "1635506192430",
      "message0": "Forwalk02LR",
      "previousStatement": null,
      "nextStatement": null,
      "colour": '#C643F1',
      "toolip": "",
      "helpUrl": ""
    });
  }
};

Blockly.Lua['1635506192430'] = function(block) {
  var code = "\n\n-- 收回右脚\nMOTOsetspeed(30)\nMOTOrigid16(30,30,30,85,85,85,85,45,30,30,30,85,85,85,85,45)\nMOTOsetspeed(20)\nMOTOmove19(80, 30, 75, 100, 108, 55, 137, 100, 120, 170, 75, 100, 132, 154, 89, 100, 128, 71, 100)\nMOTOwait()\nMOTOrigid16(30,30,30,75,85,100,90,70,30,30,30,50,55,50,50,50)\nMOTOmove19(80, 35, 90, 107, 100, 56, 124, 111, 120, 165, 90, 112, 147, 155, 99, 110, 128, 71, 100)\nMOTOwait()\nMOTOmove19(80, 35, 90, 107, 100, 56, 124, 111, 120, 165, 90, 112, 129, 155, 93, 110, 128, 71, 100)\nMOTOwait()\n\n\n-- 6\nMOTOsetspeed(30)\nMOTOmove19(80, 35, 110, 106, 95, 54, 123, 113, 120, 165, 110, 114, 75, 105, 90, 110, 128, 71, 100)\nMOTOwait()\n\n\n-- 换脚\nMOTOrigid16(30,30,30,75,85,100,90,70,30,30,30,50,55,50,50,50)\n\n\n-- 4\nMOTOsetspeed(30)\nMOTOmove19(80, 35, 110, 106, 93, 54, 123, 113, 120, 165, 110, 114, 87, 163, 44, 112, 128, 71, 100)\nMOTOwait()\nMOTOrigid16(30,30,30,45,45,45,45,45,30,30,30,45,65,65,65,45)\n\n\n-- 左脚迈出2\nMOTOsetspeed(20)\nMOTOmove19(80, 35, 110, 106, 90, 62, 117, 111, 120, 165, 110, 114, 87, 163, 44, 112, 128, 71, 100)\nMOTOwait()\nMOTOsetspeed(10)\nMOTOmove19(80, 35, 110, 100, 90, 62, 112, 100, 120, 165, 110, 103, 87, 163, 44, 105, 128, 71, 100)\nMOTOwait()\nMOTOsetspeed(10)\nMOTOmove19(80, 30, 125, 100, 68, 46, 111, 100, 120, 170, 125, 100, 92, 145, 63, 100, 128, 71, 100)\nMOTOwait()\n";
  return code;
}

